<script lang="ts" setup></script>

<template>
  <div class="pages">
    <div class="content">
      <h1 class="title">请选择企业信息</h1>
      <div class="register">
        <div class="register-cotent">
          <h2>系统检测您的账号已关联企业</h2>
          <h2>请选择您要登录的企业信息</h2>
          <div class="enterprise">
            <div class="enterprise-list active">
              <h6>张三****豆腐店</h6>
              <p>认证时间：2024.12.11  12:34:56</p>
            </div>
            <div class="enterprise-list">
              <h6>李四文化有限***公司</h6>
              <p>认证时间：2024.12.11  12:34:56</p>
            </div>
          </div>
          <div class="tips">
            <p>
              没有我想登录的信息？
              <span>去认证新的服务商</span>
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.pages {
  padding-top: 40px;
  padding-bottom: 106px;
  box-sizing: border-box;
  background: #fafafa;

  .title {
    font-weight: 500;
    font-size: 28px;
    color: #000000;
  }

  .register {
    background: #ffffff;
    margin-top: 22px;
    padding-top: 100px;
    padding-bottom: 40px;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
    min-height: 614px;
    display: flex;
    justify-content: center;
    h2 {
      font-weight: 400;
      font-size: 16px;
      color: #202949;
      line-height: 21px;
      text-align: center;
    }

    .enterprise {
      display: flex;
      align-items: center;
      margin-top: 50px;
      &-list {
        width: 295px;
        height: 100px;
        padding: 20px;
        box-sizing: border-box;
        background: rgba(216, 216, 216, 0.2);
        margin-right: 15px;
        cursor: pointer;
        &:last-child {
          margin-right: 0;
        }
        h6 {
          font-weight: 700;
          font-size: 14px;
          color: #202949;
        }
        p {
          font-weight: 400;
          font-size: 14px;
          color: #95a0b5;
          display: inline-block;
          margin-top: 15px;
        }
        &.active {
          background-image: url("/images/enterprise/select.png");
          background-repeat: no-repeat;
          background-position: right 20px top 16px;
          background-size: 24px 24px;
          background-color: rgba(255,128,102,0.05);
        }
      }
    }
    .tips {
      text-align: center;
      margin-top: 40px;
      font-weight: 400;
      font-size: 14px;
      color: #9a9a9a;
      span {
        color: #e22000;
        cursor: pointer;
      }
    }
  }
}
</style>
